<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>商品编辑</title>
    <meta charset="UTF-8"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__css/bootstrap.css">

    <link rel="stylesheet" type="text/css" href="__PUBLIC__css/reset.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__css/structure.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__css/content.css" />

</head>
<style>
    .f1{ float:left; width:100%;}
    .t2 { clear:both; /*border-collapse: collapse;*/ border: 1px solid #c9dae4; }
    .t2 tr th { color:#000; padding: 5px 0px 5px 10px; border-bottom: 1px solid #e6e6e6; font-weight: normal; background: #f7fafc; text-align:left; border-right: 1px solid #e6e6e6; border-left: 1px solid #e6e6e6; }
    .t2 tr td{ border-bottom: 1px solid #e6e6e6; padding: 5px 0px 5px 10px; line-height:22px; word-break:break-all;    vertical-align: middle;}
    .t2 tr th em, .t2 tr td em{ font-weight:bold; color:Red;}
    input{
        width: 201px;
        vertical-align: middle;
    }
</style>
<body marginwidth="0" marginheight="0">
<div class="container">
    <div class="public-nav">您当前的位置：<a href="{:url('admin/Goods/adminIndex')}">管理首页</a>><a href="{:url('admin/Goods/goodsList')}">商品管理</a>><a href="">编辑商品信息</a></div>
    <div class="public-content">
        <div class="public-content-header">
            <h3>编辑商品信息</h3>
        </div>
        </br>
    <form class="box f1" action="" method="post" >
        <table class="t2">
            <tr>
                <th style=";background-color: #c9dae4">商品id：</th>
                <th style=";background-color: #c9dae4">商品名称：</th>
                <th style=";background-color: #c9dae4">商品原价：</th>
                <th style=";background-color: #c9dae4">商品现价：</th>
                <th style=";background-color: #c9dae4">商品简介：</th>
                <th style=";background-color: #c9dae4">商品链接：</th>
                <th style=";background-color: #c9dae4">减券链接：</th>
                <th style=";background-color: #c9dae4">图片链接：</th>
                <th style=";background-color: #c9dae4">图片预览：</th>
            </tr>
            <tr>
                <td>{$goods['Id']}</td>
                <td><input type="text" value="{$goods['title']}" name="title" id="title" style="width: 200px;" required></td>
                <td><input type="text" value="{$goods['old_price']}" name="old_price" id="old_price" style="width: 50px;" required></td>
                <td><input type="text" value="{$goods['new_price']}" name="new_price" id="new_price"  style="width: 50px;" required></td>
                <td><input type="text" name="description" id="description" required value="{$goods['description']}" style="width: 300px;" ></td>
                <td><input type="text" value="{$goods['url']}" name="url" id="url"  style="width: 300px;" required></td>
                <td><input type="text" value="{$goods['ticket_url']}" name="ticket_url" id="ticket_url" style="width: 300px;"  required></td>
                <td><input type="text" value="{$goods['pictrue_url']}" name="pictrue_url" id="pictrue_url" style="width: 200px;"  required></td>
                <td><img src="{$goods['pictrue_url']}" style="width: 160px;height: 160px"></td>
            </tr>
        </table>
        <input type="submit" class="btnLogin" value="提交" tabindex="4" name="dosubmit" id="dosubmit">
    </form>
    </div>
</div>
</body>
</html>